<?php
    class Views{
        public $view;
        public $assign;
        function tpl_set($name,$value){
            $this->assign[$name] = $value;
        }
        function render_template($path,$filename){
           @extract($this->assign);
           return require_once ($path.$filename.EXT);
        }
    }
?>
